package com.supermap.application.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 行业实体
 */
@Entity
@Table(name = "T_INDUSTRY_DATA")
public class TIndustry {

    //id
    private String id;
    //行业编号
    private String A00011;
    //行业大类
    private String A00012;
    //行业名称
    private String industryName;
    //行业级别
    private String industryLevel;
    //报告期类型
    private String reportType;
    //报告期时间
    private String reportTime;
    //预留字段a
    private String flagA;
    //预留字段b
    private String flagB;
    //预留字段c
    private String flagC;


    public TIndustry() {}

    public TIndustry(String id, String a00011, String a00012, String industryName,
                     String industryLevel, String reportType, String reportTime, String flagA,
                     String flagB, String flagC) {
        this.id = id;
        A00011 = a00011;
        A00012 = a00012;
        this.industryName = industryName;
        this.industryLevel = industryLevel;
        this.reportType = reportType;
        this.reportTime = reportTime;
        this.flagA = flagA;
        this.flagB = flagB;
        this.flagC = flagC;
    }

    @GenericGenerator(name = "generator", strategy = "increment")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "ID", unique = true, nullable = false, precision = 10, scale = 0)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "A00011", length = 255)
    public String getA00011() {
        return A00011;
    }

    public void setA00011(String a00011) {
        A00011 = a00011;
    }

    @Column(name = "A00012", length = 255)
    public String getA00012() {
        return A00012;
    }

    public void setA00012(String a00012) {
        A00012 = a00012;
    }

    @Column(name = "INDUSTRY_NAME", length = 255)
    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    @Column(name = "INDUSTRY_LEVEL", length = 255)
    public String getIndustryLevel() {
        return industryLevel;
    }

    public void setIndustryLevel(String industryLevel) {
        this.industryLevel = industryLevel;
    }

    @Column(name = "REPORT_TYPE", length = 255)
    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    @Column(name = "REPORT_TIME", length = 255)
    public String getReportTime() {
        return reportTime;
    }

    public void setReportTime(String reportTime) {
        this.reportTime = reportTime;
    }

    @Column(name = "FLAG_A", length = 255)
    public String getFlagA() {
        return flagA;
    }

    public void setFlagA(String flagA) {
        this.flagA = flagA;
    }

    @Column(name = "FLAG_B", length = 255)
    public String getFlagB() {
        return flagB;
    }

    public void setFlagB(String flagB) {
        this.flagB = flagB;
    }

    @Column(name = "FLAG_C", length = 255)
    public String getFlagC() {
        return flagC;
    }

    public void setFlagC(String flagC) {
        this.flagC = flagC;
    }
}
